// 均匀模式色值
export const evenColorList = [
	{
		value: 0,
		label: '黑',
		color: '#000000'
	},
	{
		value: 1,
		label: '灰',
		color: '#93a2a9'
	},
	{
		value: 2,
		label: '白',
		color: '#FFFFFF'
	},
	{
		value: 3,
		label: '红',
		color: '#ff2121'
	},
	{
		value: 4,
		label: '橙',
		color: '#fa8c35'
	},
	{
		value: 5,
		label: '黄',
		color: '#fadb14'
	},
	{
		value: 6,
		label: '绿',
		color: '#21ba45'
	},
	{
		value: 7,
		label: '青',
		color: '#39b54a'
	},
	{
		value: 8,
		label: '蓝',
		color: '#5bb9bd'
	},
	{
		value: 9,
		label: '紫',
		color: '#79569c'
	}
];

// 复杂模式色值
export const complexColorList = [
	{
		value: 2,
		label: '白',
		color: '#FFFFFF'
	},
	{
		value: 3,
		label: '红',
		color: '#ff2121'
	},
	{
		value: 4,
		label: '橙',
		color: '#fa8c35'
	},
	{
		value: 5,
		label: '黄',
		color: '#fadb14'
	},
	{
		value: 6,
		label: '绿',
		color: '#21ba45'
	},
	{
		value: 7,
		label: '青',
		color: '#39b54a'
	},
	{
		value: 8,
		label: '蓝',
		color: '#5bb9bd'
	},
	{
		value: 9,
		label: '紫',
		color: '#79569c'
	}
];
// 大房间id
export const LargeRoomId = [
	{
		value: 10,
		label: 10
	},
	{
		value: 11,
		label: 11
	},
	{
		value: 12,
		label: 12
	},
	{
		value: 13,
		label: 13
	}
];
// 小房间id
export const SmallRoomId = [
	{
		value: 15,
		label: 15
	},
	{
		value: 16,
		label: 16
	},
	{
		value: 17,
		label: 17
	}
];
// 服务枚举
export enum ServiceEnum {
	SLEEP_DURING_DUTY = 0,
	LEAVING_POST = 1,
	HELMET = 2,
	SMOKING = 3,
	UNIFORM = 4,
	SMOKING_FIRE = 5,
	CALL = 6,
	CLIMBING = 7,
	REFLECTIVE_CLOTHING = 8,
	LABOR_PROTECTION_MASK = 9,
	LABOR_PROTECTION_GLOVES = 10,
	GOGGLE = 11,
	FACE_RECOGNITION = 12,
	STEAL_BATTERY = 17,
	WANDER = 18,
	CROWD = 19,
	FIGHT = 20,
	NUMBER_PEOPLE = 23,
	LIGHTING = 24,
	NOONE_AREA = 34,
	MASK = 25,
	GATE_NOTCLOSE = 29,
	WELDING = 31 //焊接规范检测
}

export type AlarmsHintMap = {
	[key in number]: string;
};

// 声光报警器提示Map
export const alarmsHintMap: AlarmsHintMap = {
	0: '检测到人员睡岗行为！',
	1: '检测到人员离岗行为！',
	2: '检测到未戴安全帽！',
	3: '检测到抽烟行为！',
	4: '检测到未穿工服！',
	5: '检测到烟火报警！',
	6: '检测到打电话行为！',
	7: '检测到攀爬行为！',
	8: '检测到未穿反光衣！',
	9: '检测到未戴劳保口罩！',
	10: '检测到未戴劳保手套！',
	11: '检测到未戴护目镜！',
	12: '检测到异常人员！',
	13: '检测到违规闯入行为！',
	14: '检测到人员玩手机行为！',
	15: '检测到烟雾报警！',
	16: '检测到人员跌倒！',
	17: '检测到偷电瓶行为！',
	18: '检测到异常人员徘徊行为！',
	19: '检测到异常聚众行为！',
	20: '检测到打架斗殴行为！',
	21: '检测到车辆进入！',
	22: '检测到人员违规越界行为！',
	33: '检测到非法入侵行为！',
	23: '检测区域人员数量已超限！',
	// 泵业定制算法====开始
	24: '检测到设备状态灯光异常提示！',
	25: '检测到人员未戴防护面罩！',
	26: '检测到人员泵顶作业未系安全带！',
	27: '检测到人员未戴安全帽！',
	28: '检测到人员未戴防护镜违规作业！',
	29: '检测到作业间大门未关闭！',
	30: '检测到狭小空间人员违规站位！',
	31: '检测到人员焊接未使用吸烟机！',
	32: '检测到人员泵顶违规操作！',
	34: '检测到人员泵顶违规操作！'
	// 泵业定制算法====结束
};

/**
 * 最大区域数
 **/
export const MAX_AREA_NUM = 7;

/**
 * 最大服务数
 **/
export const MAX_SELECTED_SERVE_NUM = 7;

/**
 * 最大设备数
 */
export const MAX_DEVICE_NUM = 100024;

/**
 * 根据全屏和自定义状态获取可选择的AI服务
 */
